package com.alan.validate.constraints;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.alan.validate.constraints.Impl.Constraint;
import com.alan.validate.constraints.Impl.NotNullValidate;
@Target(value=ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy=NotNullValidate.class)
public @interface NotNull {
	String value() default "";
	String message() default "";
	
}
